.puzzle-history {
  &__session {
    margin-bottom: 5em;

    &__title {
      @extend %flex-between;

      align-items: flex-end;
      margin-bottom: 1rem;

      time {
        font-size: 1.5rem;
        margin-right: 1ch;
      }
    }

    &__rounds {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(15em, 1fr));
      align-content: start;
    }
  }

  &__round {
    padding: 0.4em;

    &__meta {
      @extend %flex-between;
    }

    &__id {
      visibility: hidden;
    }

    &:hover .puzzle-history__round__id {
      color: $c-font;
      visibility: visible;
    }
  }

  good,
  bad {
    @extend %flex-center;

    color: white;
    text-transform: uppercase;
    padding: 0 0.2em;
    font-size: 0.9em;
    opacity: 0.7;

    &::before {
      @extend %data-icon;

      margin-right: 0.2em;
    }
  }

  good {
    background: $c-good;

    &::before {
      content: '';
    }
  }

  bad {
    background: $c-bad;

    &::before {
      content: '';
    }
  }
}
